<!--conf
<sample in_favorites="false">
              <product version="1.4" edition="pro"/>
                     <modifications>
                            <modified date="070101"/>
                     </modifications>
               </sample>
 --> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>FORM integration</title>
	
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>
</head>
<body>
	<h1>FORM integration</h1>
	<p>
        Edit something in grid and press submit (requires PHP)
	</p>
	<form action="php/pro_form.php" method="post" target="result">
		<table width="600">
			<tr>
				<td>
					<div id="gridbox" style="width:100%; height:270px; background-color:white;"></div>
				</td>
			</tr>
		</table>
		<input type="submit">
	</form>
	<iframe id="result" name="result" width="600px" height="200px"></iframe>
<br>
<script>
   mygrid = new dhtmlXGridObject('gridbox');
   mygrid.setImagePath("../../../codebase/imgs/");
   mygrid.setHeader("Sales, Book Title, Author");
   mygrid.setInitWidths("150,150,*")
   mygrid.setColAlign("left,left,left")
   mygrid.setColTypes("dyn,txt,ed");
   mygrid.setColSorting("str,str,str")
  
   mygrid.init();
   mygrid.setSkin("dhx_skyblue")
   mygrid.loadXML("../common/grid.xml");
</script>

</body>
</html>
